﻿<UserControl x:Class="TriviaViews.Views.DifficultyTopicView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="296" d:DesignWidth="598">
    <Border BorderThickness="5" BorderBrush="MistyRose" Margin="10">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition></RowDefinition>
                <RowDefinition></RowDefinition>
                <RowDefinition></RowDefinition>
            </Grid.RowDefinitions>
            <Label HorizontalAlignment="Center" FontSize="20" Background="Firebrick" Margin="0,0,0,46">Add new Difficulty And/Or new Topic.</Label>
            <StackPanel Grid.Row="1" Orientation="Horizontal">
                <Label Margin="20">Topic:</Label>
                <TextBox Margin="20" Width="250" Text="{Binding TopicAdded}"></TextBox>
                <Button Margin="20" Command="{Binding AddDiddicultyCommand}">Add Difficulty</Button>
            </StackPanel>

            <StackPanel  Grid.Row="2" Orientation="Horizontal">
                <Label  Margin="20">Difficulty:</Label>
                <TextBox Margin="20" Width="250" Text="{Binding DifficultyAdded}"></TextBox>
                <Button Margin="20" Command="{Binding AddTopicCommand}">Add Topic</Button>
            </StackPanel>
        </Grid>
    </Border>
</UserControl>
